#include<stdio.h>

int main()
{		
	int chick = 0,rabbit = 0;
	for(chick = 1;chick <= 40;chick ++){
		rabbit = 40 - chick;
		if(chick * 2 + rabbit * 4 == 100){
			printf("chick = %d\n",chick);
			printf("rabbit = %d\n",rabbit);
		}
	}




	return 0;
}
